//package com.hwua.tonyshop;
//			
//import org.springframework.boot.SpringApplication;
//import org.springframework.boot.autoconfigure.SpringBootApplication;
//import org.springframework.boot.web.support.SpringBootServletInitializer;
//import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;
//import springfox.documentation.swagger2.annotations.EnableSwagger2;
//
//@SpringBootApplication  
////@EnableConfigurationProperties
////@EnableSwagger2             //启动swagger注解
////开启通用注解扫描
//@EnableRedisHttpSession
//public class Application extends SpringBootServletInitializer{     
//	/** 
//     * 实现SpringBootServletInitializer可以让spring-boot项目在web容器中运行 
//     */  
//	//用来运行程序  
//    public static void main(String[] args) {          
//        SpringApplication.run(Application.class, args);           
//    }
//}